﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Default : System.Web.UI.Page
{
    Person p=new Person();

    protected void Page_Load(object sender, EventArgs e)
    {
        
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        Label1.Text = Txtb1.Text;
    }
    protected void Button2_Click(object sender, EventArgs e)
    {
        Label2.Text = Txtb2.Text;
    }
    protected void Button3_Click(object sender, EventArgs e)
    {
        Label3.Text = Txtb3.Text;
    }
    protected void Button4_Click(object sender, EventArgs e)
    {
        Label4.Text = Txtb4.Text;
    }
    protected void Button5_Click(object sender, EventArgs e)
    {
        Label5.Text = Txtb5.Text;
    }
    protected void Button6_Click(object sender, EventArgs e)
    {
        Label6.Text = Txtb6.Text;
    }
    protected void Button7_Click(object sender, EventArgs e)
    {
        p.setName(Txtb1.Text);
        p.setmobile(Txtb2.Text);

        Label6.Text = p.getName();
        Label5.Text = p.getMobile();
    }
    protected void Button8_Click(object sender, EventArgs e)
    {
       
    }
}